package com.xue566.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @Author: Wuzh
 * @Description: 课耗实体类
 * @Data:
 */
@Data
@NoArgsConstructor //无参构造
@Accessors(chain = true) //链式
@TableName(value = "consumption_info")
public class ConsumptionEntity extends BaseEntity {

    @TableId(value = "consumptionId", type = IdType.INPUT)
    private String consumptionId;
    @TableField(value = "stuId")
    private String stuId;
    @TableField(value = "classId")
    private String classId;
    @TableField(value = "consumptionHour")
    private String consumptionHour;
    @TableField(value = "consumptionMoney")
    private String consumptionMoney;
    @TableField(value = "surplusHour")
    private String surplusHour;
    @TableField(value = "surplusMoney")
    private String surplusMoney;
    @TableField(value = "unitPrice")
    private String unitPrice;
    @TableField(value = "leaveNum")
    private String leaveNum;
    @TableField(value = "truancyNum")
    private int truancyNum;
    @TableField(value = "createTime")
    private String createTime;
    @TableField(value = "isUsed")
    private int isUsed;

    public String getConsumptionId () {
        return consumptionId;
    }

    public void setConsumptionId (String consumptionId) {
        this.consumptionId = consumptionId;
    }

    public String getStuId () {
        return stuId;
    }

    public void setStuId (String stuId) {
        this.stuId = stuId;
    }

    public String getClassId () {
        return classId;
    }

    public void setClassId (String classId) {
        this.classId = classId;
    }

    public String getConsumptionHour () {
        return consumptionHour;
    }

    public void setConsumptionHour (String consumptionHour) {
        this.consumptionHour = consumptionHour;
    }

    public String getConsumptionMoney () {
        return consumptionMoney;
    }

    public void setConsumptionMoney (String consumptionMoney) {
        this.consumptionMoney = consumptionMoney;
    }

    public String getSurplusHour () {
        return surplusHour;
    }

    public void setSurplusHour (String surplusHour) {
        this.surplusHour = surplusHour;
    }

    public String getSurplusMoney () {
        return surplusMoney;
    }

    public void setSurplusMoney (String surplusMoney) {
        this.surplusMoney = surplusMoney;
    }

    public String getUnitPrice () {
        return unitPrice;
    }

    public void setUnitPrice (String unitPrice) {
        this.unitPrice = unitPrice;
    }

    public String getLeaveNum () {
        return leaveNum;
    }

    public void setLeaveNum (String leaveNum) {
        this.leaveNum = leaveNum;
    }

    public int getTruancyNum () {
        return truancyNum;
    }

    public void setTruancyNum (int truancyNum) {
        this.truancyNum = truancyNum;
    }

    public String getCreateTime () {
        return createTime;
    }

    public void setCreateTime (String createTime) {
        this.createTime = createTime;
    }

    public int getIsUsed () {
        return isUsed;
    }

    public void setIsUsed (int isUsed) {
        this.isUsed = isUsed;
    }
}
